---
--- Created by hollowJ.
--- DateTime: 2017/10/14 22:19
---
a={}
a["bb"]=21
a["cc"]=22
a["bb"]=nil
for key,value in pairs(a) do
    print(key.."---"..value)
end

winConfig = {
    winId = nil,
    winName = "hwj",
    abPatth = nil,
    layer = nil
}
local function createWinConfig( obj)
    local cfg = {} or obj
    setmetatable(cfg, winConfig)
    winConfig.__index = winConfig
    return cfg
end

local cfg=createWinConfig()
print(cfg.winName)
a=nil
c=a or {}
print(c)
local s=tostring(1)
print(type(s).."   "..s)
